package priv.dajie.tzzq.bot.model;

public class BuyResult {
    private BuyState buyState;
    private String buyID;
    private String takeBackId;

    public BuyResult(BuyState buyState, String buyID) {
        this.buyState = buyState;
        this.buyID = buyID;
    }

    public BuyResult(BuyState buyState, String buyID, String takeBackId) {
        this.buyState = buyState;
        this.buyID = buyID;
        this.takeBackId = takeBackId;
    }

    public String getTakeBackId() {
        return takeBackId;
    }

    public BuyState getBuyState() {
        return buyState;
    }

    public String getBuyID() {
        return buyID;
    }

    @Override
    public String toString() {
        return "BuyResult{" +
                "buyState=" + buyState +
                ", buyID='" + buyID + '\'' +
                ", takeBackId='" + takeBackId + '\'' +
                '}';
    }
}
